<?php


namespace App\Kuafu\Wechat\Enum;


class CodeEnum
{
    public const PREFIX_ACCESS_TOKEN           = 'appid:';
    public const GRANT_TYPE                    = 'client_credential';
    public const GET_TOKEN_URL                 = 'https://api.weixin.qq.com/cgi-bin/token?grant_type=';
    public const SUBSCRIBE_URL                 = 'https://api.weixin.qq.com/cgi-bin/message/subscribe/send?access_token=';
    public const GET_TEMPLATE_LIST_URL         = "https://api.weixin.qq.com/wxaapi/newtmpl/gettemplate?access_token=";
    public const PREFIX_APPLET_CARD_TOKEN      = 'APPLET:CARD:';
    public const APPLET_CARD_KEY               = 'appletCard'; // 点餐素材
    public const APPLET_CARD_ACTIVITY_KEY      = 'appletActivityCard'; // 活动
    public const APPLET_CARD_NAME              = '小程序卡片素材';
    public const APPLET_CARD_TYPE              = 'appletCard';
    public const APPLET_TOKEN_TIME             = 7000;
    public const APPLET_EVENT_KEY              = "KFZC";
    public const APPLET_EVENT_TYPE_SHOP        = 1; // 门店点餐
    public const APPLET_EVENT_TYPE_ACTIVITY    = 2; // 门店活动¨
    public const APPLET_EVENT_CLICK_US         = 'ABOUT_US';
    public const APPLET_EVENT_CLICK_US_CONTENT = '您好，麻烦您留下联系方式，稍后会有我们专业的加盟顾问与您联系   点击了解加盟信息 <a data-miniprogram-appid="wx1913b646f245c2d3" data-miniprogram-path="pages/card/card?scene=cardId=408" data-miniprogram-nickname="夸父炸串加盟" data-miniprogram-type="text" href=" ">点击了解加盟信息</a>';
    public const APPLET_EVENT_COOPERATION      = '您好，加盟合作请拨打' . PHP_EOL . '400-656-2066' . PHP_EOL . '会有专人为您答疑解惑哟~';
//    public const APPLET_EVENT_AUTO            = '夸迷驾到，终于等到你！' . PHP_EOL . '----------------------------' . PHP_EOL . '草本卤油，炸串真香' . PHP_EOL . '全年卖出10亿串的夸父炸串' . PHP_EOL . '全国连锁门店超2000家' . PHP_EOL . '餐饮创业，就选夸父' . PHP_EOL . '<a data-miniprogram-appid="wx1913b646f245c2d3" data-miniprogram-path="pages/card/card?scene=cardId=341" data-miniprogram-nickname="夸父炸串加盟" data-miniprogram-type="text" href=" ">立刻加盟，实现创富</a>';
    public const APPLET_EVENT_AUTO            = '夸迷驾到，终于等到你！
----------------------------
草本卤油，炸啥都香
常年霸占小吃必吃榜
男女老少都爱吃！
餐饮创业，就选夸父
<a data-miniprogram-appid="wx1913b646f245c2d3" data-miniprogram-path="pages/card/card?scene=cardId=341" data-miniprogram-nickname="夸父炸串加盟" data-miniprogram-type="text" href=" ">立刻加盟，实现创富</a>
----------------------------
投资有风险，加盟需谨慎！
';
//<a href="http://t.kuafood.com/CCYmc">对话创始人，了解最新加盟政策</a>';
    public const PUBLIC_KEYWORD_JOIN_IN       = '加盟';
    public const PUBLIC_KEYWORD_COOPERATION   = '合作';
    public const ERR_USER_REFUSE_MESSAGE_CODE = 43101;


    public const MENU_KEY_SNACK_UPGRADE      = 'https://mp.weixin.qq.com/mp/homepage?__biz=Mzg4ODA0MjczMA==&hid=3&sn=7fdf288b8d442bca322e4c0117153703';//小吃升级
    public const MENU_KEY_MEDIA_COVERAGE     = 'https://mp.weixin.qq.com/s/qaHLZLX8QoyQVUgS9MwP2g';//媒体报道
    public const MENU_KEY_BRAND_STORY        = 'https://mp.weixin.qq.com/s/UeKt0y-Fkst_Lz5-uw8ZIA';//品牌故事
    public const MENU_KEY_STORE_DISTRIBUTION = 'https://mp.weixin.qq.com/s/meQ-CI7lS6mIG-w0LYHCTg';//门店分布
    public const MENU_KEY_JOIN_IN            = 'https://h5.ebdan.net/ls/Cyc0nYCg';//加盟信息
    public const MENU_KEY_STORE_CUSTOMER     = 'https://pos.meituan.com/web/crm-wemember/active?orgId=22341&poiId=0&poiType=1&tenantId=10001656&appId=wxb47e3eaad138b79a';//门店会员
    public const MENU_SHOP_HOT_STATUS        = 'https://mp.weixin.qq.com/mp/homepage?__biz=Mzg4ODA0MjczMA==&hid=4&sn=14f12947acbbcd94a73534746c20be95';//爆店盛况
    public const MENU_KUA_XIAO_FU            = 'https://mp.weixin.qq.com/mp/homepage?__biz=Mzg4ODA0MjczMA==&hid=2&sn=422714aa43d4889a06e80960c0049c0f';//夸小父系列
    public const MENU_KUA_XIAO_FU_STUDY      = '';//夸小父课堂
    public const MENU_ACTIVITY_HOT           = 'https://mp.weixin.qq.com/mp/homepage?__biz=Mzg4ODA0MjczMA==&hid=5&sn=99e58c85915735c273486deb026e6aa3';//活动荟萃
    public const MENU_MY_VIP                 = 'https://pos.meituan.com/web/crm-wemember/hotels?orgId=22341&poiId=0&poiType=1&openId=o6tK-56m7nRjWgyKj5aufIMnQUR0&tenantId=10001656&cardTypeId=null&appId=wxb47e3eaad138b79a';//我的会员
    public const MENU_JIA_MENG_STORE         = '';//加盟故事

}